updating records in mongodb using php