Modified Database.update() to handle 'body' and 'form' options