add fileid to edit and release function