img update, expanded functionality