update picture with filepath