Added PUT update route

For completely replacing an existing document in the db.