you can use the sandbox feature bind to a documents library. pay more attention to the event "ItemUpdated". the event will be fired twice. the first time when uploaded, and the second time when saved.
public override void ItemUpdated(SPItemEventProperties properties)
{
}