modify staff update info with picture function and modify some code