Fixed document update, created alert module