Updating path and filename